package org.redrider.shop.domain
class PartsOrderSplits {

    Integer quantity
    String partNumber
    String description
    Float price
    String status //['Received','BackOrdered',...]

    static belongsTo = [po:PartsOrder]
    static constraints = {
        partNumber(blank:false)
        description(size:0..1000)
        quantity(blank:false)
        price(blank:true)
        status(inList:['Need to order','Ordered','Avaliable','Received','Consumed'])
    }
}
